﻿using System;
using System.Collections;
using System.Collections.Generic;
using MongoDB.Bson.Serialization.Attributes;

namespace Hicap.QRCodeWarehouse.Processor.Model
{
    [BsonIgnoreExtraElements]
    public class WarhouseMonitor
    {
        public int ProductId { get; set; }
        public string ProductCode { get; set; }
        public long TotalOutterCount { get; set; } = 0;
        public long TotalInnerCount { get; set; } = 0;
        public long InnerSequence { get; set; } = 0;
        public long OutterSequence { get; set; } = 0;
        public int SubordinateCompanyId { get; set; }
        public List<AuditLog> AuditLog { get; set; } = new List<AuditLog>();
    }

    public class AuditLog
    {
        public int TaskId { get; set; }
        public DateTime TriggeringTime { get; set; }
    }
}